import {
  Http
} from '../utils/http.js'
class BookDetailModule extends Http {
  getBookDetail(id, callBack) {
    this.request({
      url: '/book/' + id + '/detail',

      success: (res) => {
        callBack(res)
      }
    })
  }
  getShortComment(id, callBack) {
    this.request({
      url: '/book/' + id + '/short_comment',
      success: (res) => {
        callBack(res)
      }
    })
  }
}
export {
  BookDetailModule
}